package tech.eyao.hs60x.token;

import java.io.Serializable;
import java.util.concurrent.ThreadLocalRandom;

public class Token implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -679477071759356045L;
	private long	userId;
	private String  deviceId;
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	public String getDeviceId() {
		return deviceId;
	}
	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
	
	@Override
	public String toString() {
		return "Token [userId=" + userId + ", deviceId=" + deviceId + "]";
	}
}
